package com.zmn.oms.zmn.business.interfaces.work.orderpay;

import com.zmn.oms.common.dro.orderpay.OrderPayResultDRO;
import com.zmn.pay.gateway.common.model.dro.PayResultDRO;
import com.zmn.pay.gateway.common.model.dro.PayStatusDRO;

/**
 * 类描述：订单支付结果处理类
 *
 * @author heciqi
 * @date 2021/7/20 22:36
 */
public interface OrderPayResultBService {
	/**
	 * 支付模型转化成订单支付模型
	 *
	 * @param payResultDRO
	 * @return
	 */
	OrderPayResultDRO convertOrderPayResult(PayResultDRO payResultDRO);

	/**
	 * 转化成订单支付模型
	 *
	 * @param payDRO
	 * @return
	 */
	OrderPayResultDRO convertOrderPayResult(PayStatusDRO payDRO);

}
